NO_HAPTICS

val NO_HAPTICS: Int = -1(source)

No haptic feedback should be performed. Applications may use this value to indicate skipping a call to performHapticFeedback entirely, or else rely that it will immediately return false.

Compatibility:

  • API <34: Same behavior, immediately returns false